﻿using UnityEngine;
using System.Collections;

public class Story : MonoBehaviour 
{
	private string sceneLink = "Main Menu";
	
	void OnGUI()
	{
		string story = "In the year 40XX, mankind has ascended to the digital plane. " +
		"However, the storage capacity of Earth has been \nreached, leading various nations engage " +
		"each other in battle to take their storage sites. All warfare is conducted \nthrough mechanized " +
		"combat machines, with the goal being to acquire more space to store each nation’s population.";
		
		story = GUI.TextField (new Rect (Screen.width/4, Screen.height/4, Screen.width/2, Screen.height/2), story);
		
		if (GUI.Button (new Rect (Screen.width/2 - 50, Screen.height * 3/4 + 10, 100, 30), "Back")) 
		{
			Application.LoadLevel (sceneLink);
		}
	}
}
